<!DOCTYPE html>
<html xmlns:th="http://www.thymeleaf.org">
<head th:include="/common/_container :: htmlhead"></head>
<body>
	<div class="ibox float-e-margins">
		<div class="ibox-content">
			<div class="form-horizontal">

				<input type="hidden" id="id" th:value="${partType.id}" />
				 <input type="hidden" id="typePartitionValue" th:value="${partType.typePartition}" />

				<div class="row">
					<div class="col-sm-6 ">
						<div class="form-group">
							<label class="col-sm-3 control-label">类型名称 <span
								style="color: red">*</span>
							</label>
							<div class="col-sm-9">
								<input class="form-control" id="ptypeName" type="text"
									th:value="${partType.ptypeName}" />
							</div>
						</div>
						<div class="hr-line-dashed"></div>
					</div>
					<div class="col-sm-6">
						<div class="form-group">
							<label class="col-sm-3 control-label">父类id <span
								style="color: red">*</span>
							</label>
							<div class="col-sm-9">
								<input class="form-control" id="ptypeParent" type="text"
									th:value="${partType.ptypeParent}" />
							</div>
						</div>
						<div class="hr-line-dashed"></div>
					</div>
					<div class="col-sm-6 ">
						<div class="form-group">
							<label class="col-sm-3 control-label">类型划分 <span
								style="color: red">*</span>
							</label>
							<div class="col-sm-9">
								<select class="form-control" id="typePartition">
									<option value="0">类型</option>
									<option value="1">区域</option>
									<option value="2">智能</option>
								</select>
							</div>
						</div>
						<div class="hr-line-dashed"></div>
					</div>


					<div class="col-sm-6">
						<div class="form-group">
							<label class="col-sm-3 control-label">描述 <span
								style="color: red">*</span>
							</label>
							<div class="col-sm-9">
								<input class="form-control" id="ptypeDescription" type="text"
									th:value="${partType.ptypeDescription}" />
							</div>
						</div>
						<div class="hr-line-dashed"></div>
					</div>



					<div class="col-sm-6">
						<div class="form-group">
							<label class="col-sm-3 control-label">类型编号 <span
								style="color: red">*</span>
							</label>
							<div class="col-sm-9">
								<input class="form-control" id="ptypeNo" type="text"
									th:value="${partType.ptypeNo}" />
							</div>
						</div>
						<div class="hr-line-dashed"></div>
					</div>

					<!-- 
					<div class="col-sm-6">
						<div class="form-group">
							<label class="col-sm-3 control-label">主配件id <span
								style="color: red">*</span>
							</label>
							<div class="col-sm-9">
								<input class="form-control" id="mainPartId" type="text"
									th:value="${partType.mainPartId}" />
							</div>
						</div>
						<div class="hr-line-dashed"></div>
					</div>
					 -->
					<div class="col-sm-6">
						<div class="form-group">
							<label class="col-sm-3 control-label">备用字段 <span
								style="color: red">*</span>
							</label>
							<div class="col-sm-9">
								<input class="form-control" id="fback" type="text"
									th:value="${partType.fback}" />
							</div>
						</div>
						<div class="hr-line-dashed"></div>
					</div>
				</div>


			</div>

		</div>
	</div>
	<script th:src="@{/static/modular/part/part_type/part_type_info.js}"></script>
	<script>
	$(function(){
		$("input").attr("disabled",true);
		$("select").attr("disabled",true);
	});
</script>
</body>
</html>
